Re: BEGIN inside transaction should be an error

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Re: BEGIN inside transaction should be an error
Дата
Msg-id 0517D06E325F2EBDBF814E58@[172.26.14.230]
обсуждение исходный текст
Ответ на Re: BEGIN inside transaction should be an error  (Mario Weilguni <mweilguni@sime.com>)
Ответы Re: BEGIN inside transaction should be an error
Список pgsql-hackers

--On Mittwoch, Mai 10, 2006 10:14:22 +0200 Mario Weilguni 
<mweilguni@sime.com> wrote:

> No, I want that there is a setting or GUC that controls whether an error
> or a  warning is raised when "begin" is executed within a transaction. I
> know of  several php database wrappers that will be seriously broken when
> errors are  raised...

Such a behavior is already broken by design. I think it's not desirable to 
blindly do
transaction start or commit without tracking the current transaction state. 
So these wrappers
need to be fixed first.

-- 
                   Bernd


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BEGIN inside transaction should be an error
Следующее
От: Mario Weilguni
Дата:
Сообщение: Re: BEGIN inside transaction should be an error